# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy


class Plays(scrapy.Item):
    """
    剧集表
        :param scrapy.Item: 剧情详细模型
    """
    title = scrapy.Field()  # 剧集名称
    poster = scrapy.Field()  # 剧集海报
    protagonist = scrapy.Field()  # 主 演：陈思诚 张国强 袁泉 王媛可 于小彤 丁海峰 »更多
    play_set_number = scrapy.Field()  # 集 数：36集
    director = scrapy.Field()  # 导 演：陈健 姜国民
    status = scrapy.Field()  # 状 态：连载中
    scriptwriter = scrapy.Field()  # 编 剧：张永琛 雷婷
    year = scrapy.Field()  # 年 份：2014
    area = scrapy.Field()  # 地 区：内地
    premiere_date = scrapy.Field()  # 首播时间：2017-10-27
    premiere_platform = scrapy.Field()  # 首播平台：山东卫视
    play_type = scrapy.Field()  # 类 型：都市 励志 剧情 军旅
    intro = scrapy.Field()  # 剧情介绍
    create_at = scrapy.Field()
    update_at = scrapy.Field()
    delete_at = scrapy.Field()


class Actors(scrapy.Item):
    """
    演员表
        :param scrapy.Item: 演员详细模型
    """
    # play_id = scrapy.Field()  # 剧集id
    # name = scrapy.Field()  # 姓名
    # in_play_name = scrapy.Field()  # 饰演
    # intro = scrapy.Field()  # 简介
    title = scrapy.Field()  # 剧集名称
    content = scrapy.Field()  # 剧集内容
    create_at = scrapy.Field()
    update_at = scrapy.Field()
    delete_at = scrapy.Field()


class Juqings(scrapy.Item):
    """
    剧集详情
        :param scrapy.Item: 剧情详细模型
    """
    play_id = scrapy.Field()  # 剧集id
    title = scrapy.Field()  # 剧集名称
    content = scrapy.Field()  # 剧集内容
    create_at = scrapy.Field()
    update_at = scrapy.Field()
    delete_at = scrapy.Field()

class Premiere_dates(scrapy.Item):
    """
    剧集详情
        :param scrapy.Item: 剧情详细模型
    """
    play_id = scrapy.Field()  # 剧集id
    title = scrapy.Field()  # 剧集名称
    content = scrapy.Field()  # 剧集内容
    create_at = scrapy.Field()
    update_at = scrapy.Field()
    delete_at = scrapy.Field()
